Using DMA and Timers


The sound functions of this system occupy DMA1, DMA2 and TIMER 0 of the AGB Hardware functions. For this reason, these hardware functions cannot be used by programs that are not part of this system.

As for  DMA 2, with some options when creating a sound object, use by sound related functions can be prohibited.  It can be used by other programs. In this situation, the direct sound output is monaural and the execution speed is faster.

If you want to prevent sound from using DMA2, inform the sound engineer to "add 'only_dma1 = 1' to the definition file 'mks4agb.ini'."


Next: [ Using Sound Code in System ROM]
Back: [Maximum Processing Time for m4aSoundMain( )]
Top :  [Table of Contents]